//用户相关的接口
import axiosInstance from '@/utils/request.js'

//登录接口
export const loginAPI = ({ account, password }) => {
  return axiosInstance({
    url: '/login',
    method: 'POST',
    data: {
      account,
      password
    }
  })
}
//猜你喜欢
export const getLikeListAPI = ({ limit = 4 }) => {
  return axiosInstance({
    url: '/goods/relevant',
    params: {
      limit
    }
  })
}